package com.bizfx.component.views
{
	import com.bizfx.component.fields.IField;
	
	import mx.collections.IList;
	import mx.core.IUIComponent;

	[Event(name="ViewEventRaise", type="com.bizfx.events.ViewEvent")]

	public interface IView extends IUIComponent
	{
		/**
		 * 视图标识。
		 */
		function get viewKey():String;
		function set viewKey(value:String):void;
		
		/**
		 * 视图名称。
		 */
		function get viewName():String;
		function set viewName(value:String):void;
		
		/**
		 * 视图数据。
		 */	
		function get viewDataSource():Object;
		function set viewDataSource(value:Object):void;
		
		/**
		 * 视图状态。
		 */	
		function get status():String;
		function set status(value:String):void;
		
		/**
		 * 视图命令
		 */
		function get commands():IList;
		function set commands(value:IList):void;
		
		/**
		 * 所属模块
		 */
		function get module():IModule;
		function set module(value:IModule):void;
		
		function show():void;
		
		function hide():void;
		
		function refresh():void;
	}
}